package com.sdy.healthcode.biz.model;

import java.util.Date;

import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.TableId;
import com.sdy.common.model.BaseModel;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.sdy.common.utils.DateUtil;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 人员进出分析报表
 * </p>
 *
 * @author cgj
 * @since 2020-02-28
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
public class ReportPeoplePass extends BaseModel {
    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    @TableId
    @ExcelProperty(value = "序号" ,index = 0)
    private Integer id;

    /**
     * 用户名
     */
    @ExcelProperty(value = "用户名" ,index = 1)
    private String name;

    /**
     * 人员分类
     */
    @ExcelProperty(value = "人员分类" ,index = 2)
    private String peopleType;

    /**
     * 住址地区
     */
    @ExcelProperty(value = "住址地区" ,index = 3)
    private String cityArea;

    /**
     * 详细地址
     */
    @ExcelProperty(value = "详细地址" ,index = 4)
    private String tripAddr;

    /**
     * 手机号码
     */
    @ExcelProperty(value = "手机号码" ,index = 5)
    private String phone;

    /**
     * 进/出
     */
    @ExcelProperty(value = "进/出" ,index = 6)
    private String actionType;

    /**
     * 体温状况
     */
    @ExcelProperty(value = "体温状况" ,index = 7)
    private String healthType;

    /**
     * 体温
     */
    @ExcelProperty(value = "体温" ,index = 8)
    private String remark;

    /**
     * 预约时间
     */
    @ExcelProperty(value = "预约时间" ,index = 9)
    @JsonFormat(pattern = DateUtil.DATETIME_FORMAT)
    private Date appointmentTime;

    /**
     * 扫码时间
     */
    @ExcelProperty(value = "扫码时间" ,index = 10)
    @JsonFormat(pattern = DateUtil.DATETIME_FORMAT)
    private Date recordTime;

    /**
     * 日期
     */
    @ExcelProperty(value = "日期" ,index = 11)
    private String recordDate;

}
